How can I capture the output and exit value of a subprocess in Perl? [closed]

Posted by Ryan Thompson on Stack Overflow See other posts from Stack Overflow or by Ryan Thompson
Published on 2010-05-09T19:34:36Z Indexed on 2010/05/10 4:18 UTC
Read the original article Hit count: 418

Filed under:
|
|
|
|

Possible Duplicate:
How do you capture stderr, stdout, and the exit code all at once, in Perl?

I'm writing a Perl script that needs to call a subprocess and capture both the output and the exit value. Is there a way to get both?

© Stack Overflow or respective owner

Related posts about perl

Related posts about subprocess